package y23.Jun;

public class Test20 {
    public static void main(String[] args) {
        double CL = 1.03;
        double[] CD = {0.703,0.351,0.234,0.176};
        double[] s = {5,10,15,20,25};
        double S = 0;
        double A;
        double M = 60 + 4.1;
        double g = 9.8;
        double V = 42.5;
        //s=0
        for(int i = 0;i < 4;i++){
            A = CD[i] *(CL / CD[i]);
            S =(2* M * g )/ (0.5*1.2 * Math.pow(V/3.6,2)*  A);
            System.out.println(S);
        }
        System.out.println("+-+-+-+-+-+-+-+-+-+-+");
        for(int i = 0;i < 5;i++){
            double arf = Math.PI / 180 * s[i];
            for(int j = 0;j < 4;j++){
                A =CD[j] *((CL / CD[j]) + arf * CL /Math.PI);
                S = (2*M * g )/ (0.5*1.2 * Math.pow(V/3.6,2) *  A);
                System.out.println(S);
            }
            System.out.println("+-+-+-+-+-+-+-+-+-+-+");
        }
    }
}
